<?php

use Illuminate\Database\Seeder;

class admin_permissionsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::insert("
            INSERT INTO `admin_permissions` (`id`, `name`, `slug`, `http_method`, `http_path`, `created_at`, `updated_at`) VALUES
(1, 'All permission', '*', '', '*', NULL, NULL),
(2, 'Dashboard', 'dashboard', 'GET', '/', NULL, NULL),
(3, 'Login', 'auth.login', '', '/auth/login\r\n/auth/logout', NULL, NULL),
(4, 'User setting', 'auth.setting', 'GET,PUT', '/auth/setting', NULL, NULL),
(5, 'Auth management', 'auth.management', '', '/auth/roles\r\n/auth/permissions\r\n/auth/menu\r\n/auth/logs', NULL, NULL),
(6, 'Boosen menus', 'ext.menus', NULL, '/menus*', '2018-05-24 02:35:48', '2018-05-24 02:35:48'),
(7, 'Contents Management', 'ext.cms', NULL, '/cms/*', '2018-06-11 22:41:42', '2018-06-11 22:41:42')
            ");
    }
}
